<?php
include_once dirname(__FILE__)."/../lang/error.php";
include_once dirname(__FILE__)."/../io/rows.php";
include_once dirname(__FILE__)."/../io/db.php";
class config extends rows{
 	function init(){
 		$this->tableName="sn_config";
 		$this->col["cfid"]   = new column("cfid",dataCheck::INTEGER);
 		$this->col["cfvalue"] = new column("cfvalue	",dataCheck::STRING|dataCheck::NOTNULL);
 		$this->col["cftype"]  = new column("cftype",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["cfparent"]  = new column("cfparent",dataCheck::INTEGER|dataCheck::NOTNULL);
 		$this->col["cfdesc"]  = new column("cfdesc",dataCheck::STRING|dataCheck::NOTNULL);
 	} 	 	
 }
